import React, { useState, useContext } from "react";
import { View, StyleSheet, Text } from "react-native";
import ShowFileData from "../../components/showSubject/showFileData";

const ShowFileScreen = ({ navigation, route }) => {
  const { filedata } = route.params;
  return (
    <View style={styles.container}>
      {/* <Text>入户资料</Text> */}
      <ShowFileData filedata={filedata}></ShowFileData>
    </View>
  );
};

var styles = StyleSheet.create({
  container: {
    // marginTop: Platform.OS === "android" ? StatusBar.currentHeight : 0,
    height: "100%",
    backgroundColor: "white",
  },
});

export default ShowFileScreen;
